package cn.mothin.dao;
 
import org.springframework.stereotype.Repository;

import cn.mothin.entity.SystemConfigDetail;
import cn.mothin.frame.core.base.BaseDao;
@Repository ("a8b76f8a-3c9c-466d-a265-e58fcd0262da")
public class SystemConfigDetailDao extends BaseDao<SystemConfigDetail>{ 
	
	public long getCountByName(String name){
		
		String sql = "SELECT COUNT(0) FROM system_config_detail WHERE NAME = ?";
		return sqlHelper.queryCount(sql,name);
	}
}
